package com.shed.demo.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "menus")
public class Menu implements Serializable {
	private static final long serialVersionUID = 6792923083592215228L;

	private Long menuID;
	private String menuName;
	private String menuDesc;
	private String menuUrl;
	private Integer menuState;
	private Integer menuIsLeaf;
	private Integer menuSort;
	private Long menuUpID;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "menuID")
	public Long getMenuID() {
		return menuID;
	}

	public void setMenuID(Long menuID) {
		this.menuID = menuID;
	}

	@Column(name = "menuName")
	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	@Column(name = "menuDesc")
	public String getMenuDesc() {
		return menuDesc;
	}

	public void setMenuDesc(String menuDesc) {
		this.menuDesc = menuDesc;
	}

	@Column(name = "menuUrl")
	public String getMenuUrl() {
		return menuUrl;
	}

	public void setMenuUrl(String menuUrl) {
		this.menuUrl = menuUrl;
	}

	@Column(name = "menuState")
	public Integer getMenuState() {
		return menuState;
	}

	public void setMenuState(Integer menuState) {
		this.menuState = menuState;
	}

	@Column(name = "menuIsLeaf")
	public Integer getMenuIsLeaf() {
		return menuIsLeaf;
	}

	public void setMenuIsLeaf(Integer menuIsLeaf) {
		this.menuIsLeaf = menuIsLeaf;
	}

	@Column(name = "menuSort")
	public Integer getMenuSort() {
		return menuSort;
	}

	public void setMenuSort(Integer menuSort) {
		this.menuSort = menuSort;
	}

	@Column(name = "menuUpID")
	public Long getMenuUpID() {
		return menuUpID;
	}

	public void setMenuUpID(Long menuUpID) {
		this.menuUpID = menuUpID;
	}
}
